#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/4/1 17:07
# @Author : 闫峰
# @File    : aliexpressList.py
from pydantic import BaseModel, Field
from typing import List, Optional
from datetime import datetime


class AeopAeProductDisplaySampleDTO(BaseModel):
    product_type: str
    currency_code: str
    gmt_create: str
    gmt_modified: str
    group_id: int
    image_urls: Optional[str]
    owner_member_id: str
    owner_member_seq: int
    product_id: int
    product_max_price: str  # 假设价格是字符串类型
    product_min_price: str  # 同上
    src: str
    subject: str
    freight_template_id: int


class AeopAEProductDisplayDTOList(BaseModel):
    aeop_ae_product_display_sample_dto: List[AeopAeProductDisplaySampleDTO]


class ProductInfoListQuery(BaseModel):
    aeop_a_e_product_display_d_t_o_list: AeopAEProductDisplayDTOList
    current_page: int
    product_count: int
    success: bool
    total_page: int
    error_code: int




